<!--
 * @Author: szx
 * @Date: 2022-07-12 19:06:00
 * @LastEditTime: 2022-07-12 19:52:18
 * @Description: 
 * @FilePath: \learn\HTML\按钮\酷炫的拟物化滑动开关\index.html
-->
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>酷炫的拟物化滑动开关</title>
    <link rel="stylesheet" href="./index.css">
</head>

<body>
    <div class="container">
        <label>
            <input type="checkbox" hidden>
            <span></span>
            <i class="indicator"></i>
        </label>
        <label>
            <input type="checkbox" hidden checked>
            <span></span>
            <i class="indicator"></i>
        </label>
    </div>
</body>

</html>